package org.example.casemodule.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;

import java.lang.Long;
import java.util.Date;
import java.lang.Object;
import java.lang.String;
import java.lang.Integer;

/**
 * 日程事件表 实体类。
 *
 * @author mybatis-flex-helper automatic generation
 * @since 1.0
 */
@Table(value = "schedule_event", dataSource = "caseDS")
public class ScheduleEventEntity {

    /**
     * 事件ID
     */
    @Id(keyType = KeyType.Auto)
    private Long id;

    /**
     * 事件标题
     */
    @Column(value = "title")
    private String title;

    /**
     * 事件类型
     */
    @Column(value = "type")
    private Object type;

    /**
     * 开始时间
     */
    @Column(value = "start_time")
    private Date startTime;

    /**
     * 结束时间
     */
    @Column(value = "end_time")
    private Date endTime;

    /**
     * 地点
     */
    @Column(value = "location")
    private String location;

    /**
     * 创建者ID（关联user表）
     */
    @Column(value = "creator_id")
    private Long creatorId;

    /**
     * 关联案件ID
     */
    @Column(value = "case_id")
    private Long caseId;

    /**
     * 开庭信息（法院、法庭等）
     */
    @Column(value = "court_info")
    private Object courtInfo;

    /**
     * 是否锁定（开庭事件不可修改）
     */
    @Column(value = "is_locked")
    private Integer isLocked;

    /**
     * 事件状态
     */
    @Column(value = "status")
    private Object status;

    @Column(value = "create_time")
    private Date createTime;

    @Column(value = "update_time")
    private Date updateTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Object getType() {
        return type;
    }

    public void setType(Object type) {
        this.type = type;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public Long getCreatorId() {
        return creatorId;
    }

    public void setCreatorId(Long creatorId) {
        this.creatorId = creatorId;
    }

    public Long getCaseId() {
        return caseId;
    }

    public void setCaseId(Long caseId) {
        this.caseId = caseId;
    }

    public Object getCourtInfo() {
        return courtInfo;
    }

    public void setCourtInfo(Object courtInfo) {
        this.courtInfo = courtInfo;
    }

    public Integer getIsLocked() {
        return isLocked;
    }

    public void setIsLocked(Integer isLocked) {
        this.isLocked = isLocked;
    }

    public Object getStatus() {
        return status;
    }

    public void setStatus(Object status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
